package com.muyu.payment.domain.resp;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 支付回调响应
 *
 * @author muyu
 * @date 2025-09-18
 */
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "支付回调响应")
public class PaymentCallbackResp {

    /**
     * 订单号
     */
    @Schema(description = "订单号")
    private String orderNo;

    /**
     * 第三方交易号
     */
    @Schema(description = "第三方交易号")
    private String thirdTradeNo;

    /**
     * 支付渠道
     */
    @Schema(description = "支付渠道")
    private String payChannel;

    /**
     * 支付金额
     */
    @Schema(description = "支付金额")
    private BigDecimal payAmount;

    /**
     * 支付时间
     */
    @Schema(description = "支付时间")
    private Date payTime;

    /**
     * 订单状态
     */
    @Schema(description = "订单状态")
    private Integer orderStatus;

    /**
     * 状态名称
     */
    @Schema(description = "状态名称")
    private String statusName;

    /**
     * 处理结果
     */
    @Schema(description = "处理结果")
    private String result;

    /**
     * 处理消息
     */
    @Schema(description = "处理消息")
    private String message;

    /**
     * 处理时间
     */
    @Schema(description = "处理时间")
    private Date processTime;
}